package org.wisdom.data.jpa.support.events;

import lombok.extern.slf4j.Slf4j;
import org.hibernate.resource.jdbc.spi.StatementInspector;

/**
 * @author 张智研
 * @date 2022/05/23 12:53
 **/
@Slf4j
public class WisdomJpaInterceptor implements StatementInspector {

    @Override
    public String inspect(String sql) {
        // TODO 添加sql语句收集器，用于后期数据库优化
        return sql;
    }
}
